#
# Be sure to run `pod lib lint sweet-CoreKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
    s.name             = 'SweetCoreKit'
    s.version          = '0.2.1'
    s.summary          = '吉利集团iOS开发核心库.'

    # This description is used to generate tags and improve search results.
    #   * Think: What does it do? Why did you write it? What is the focus?
    #   * Try to keep it short, snappy and to the point.
    #   * Write the description between the DESC delimiters below.
    #   * Finally, don't worry about the indent, CocoaPods strips it!

    s.description      = <<-DESC
    TODO: iOS开发核心库，iOS开发必须依赖的基本库之一.
    DESC

    s.homepage         = 'https://gitlab.geely.com/p-admp/ios-common-kit'
    # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
    #s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'haisens@163.com' => '284353855@qq.com' }
    #s.source           = { :http => 'http://10.86.104.23:8081/repository/ios-geely/SweetCoreKit/SweetCoreKit-0.0.62.zip' }
    #s.source           = { :git => 'http://git.evun.cn/ADMP-repository/SweetCoreKit.git', :tag => s.version.to_s }
    s.source           = { :http => 'https://geely-admp-oss.oss-cn-hangzhou.aliyuncs.com/sweet-app-release/ios/SweetCoreKit.framework-0.2.1.zip' }
    #s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
    s.ios.deployment_target = '9.0'
    s.frameworks = 'CoreTelephony', 'CoreLocation'
    s.ios.vendored_framework   = 'SweetCoreKit.framework'

    #s.source_files = 'SweetCoreKit/Classes/**/*.{h,m}'
    #s.public_header_files = 'SweetCoreKit/Classes/**/*.h'
    
    
    #s.framework = [ "CoreTelephony", "SystemConfiguration", "CoreLocation" ]
    
    s.xcconfig = {'BITCODE_GENERATION_MODE' => 'bitcode'}
    
    s.source_files = 'SweetCoreKit.framework/**/*.h'
    s.public_header_files = 'SweetCoreKit.framework/**/*.h'
    
    s.dependency 'AFNetworking'
end
